home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / program / aphvb423.zip / VB4CONST.BA_ / VB4CONST.BA
Text File  |  1996-10-10  |  81KB  |  1,112 lines

  1. 'VISUAL BASIC 4.0 INTRINSIC CONSTANTS
  2.  
  3. 'Align Property
  4. Global Const vbAlignNone = 0                              'Size and location set at design time or in code.
  5. Global Const vbAlignTop = 1                               'Picture box at top of form.
  6. Global Const vbAlignBottom = 2                            'Picture box at bottom of form.
  7. Global Const vbAlignLeft = 3                              'Picture box at left of form.
  8. Global Const vbAlignRight = 4                             'Picture box at right of form.
  9.  
  10. 'Alignment Property
  11. Global Const vbLeftJustify = 0                            'Left align.
  12. Global Const vbRightJustify = 1                           'Right align.
  13. Global Const vbCenter = 2                                 'Center.
  14.  
  15. 'BorderStyle Property (Form)
  16. Global Const vbBSNone = 0                                 'No border.
  17. Global Const vbFixedSingle = 1                            'Fixed single.
  18. Global Const vbSizable = 2                                'Sizable (forms only).
  19. Global Const vbFixedDouble = 3                            'Fixed double (forms only).
  20.  
  21. 'BorderStyle Property (Shape and Line)
  22. Global Const vbTransparent = 0                            'Transparent.
  23. Global Const vbBSSolid = 1                                'Solid.
  24. Global Const vbBSDash = 2                                 'Dash.
  25. Global Const vbBSDot = 3                                  'Dot.
  26. Global Const vbBSDashDot = 4                              'Dash-dot.
  27. Global Const vbBSDashDotDot = 5                           'Dash-dot-dot.
  28. Global Const vbBSInsideSolid = 6                          'Inside solid.
  29.  
  30. 'Clipboard Object Constants
  31. Global Const vbCFLink = &HBF00                            'DDE conversation information.
  32. Global Const vbCFRTF = &HBF01                             'Rich Text Format (.RTF file).
  33. Global Const vbCFText = 1                                 'Text (.TXT file).
  34. Global Const vbCFBitmap = 2                               'Bitmap (.BMP file).
  35. Global Const vbCFMetafile = 3                             'Metafile (.WMF file).
  36. Global Const vbCFDIB = 8                                  'Device-independent bitmap.
  37. Global Const vbCFPalette = 9                              'Color palette.
  38.  
  39. 'Colors
  40. Global Const vbBlack = &H0                                'Black.
  41. Global Const vbRed = &HFF                                 'Red.
  42. Global Const vbGreen = &HFF00                             'Green.
  43. Global Const vbYellow = &HFFFF                            'Yellow.
  44. Global Const vbBlue = &HFF0000                            'Blue.
  45. Global Const vbMagenta = &HFF00FF                         'Magenta.
  46. Global Const vbCyan = &HFFFF00                            'Cyan.
  47. Global Const vbWhite = &HFFFFFF                           'White.
  48.  
  49. 'System Colors
  50. Global Const vbScrollBars = &H80000000                    'Scroll bar color.
  51. Global Const vbDesktop = &H80000001                       'Desktop color.
  52. Global Const vbActiveTitleBar = &H80000002                'Color of the title bar for the active window.
  53. Global Const vbInactiveTitleBar = &H80000003              'Color of the title bar for the inactive window.
  54. Global Const vbMenuBar = &H80000004                       'Menu background color.
  55. Global Const vbWindowBackground = &H80000005              'Window background color.
  56. Global Const vbWindowFrame = &H80000006                   'Window frame color.
  57. Global Const vbMenuText = &H80000007                      'Color of text on menus.
  58. Global Const vbWindowText = &H80000008                    'Color of text in windows.
  59. Global Const vbTitleBarText = &H80000009                  'Color of text in caption, size box, and scroll arrow.
  60. Global Const vbActiveBorder = &H8000000A                  'Border color of active window.
  61. Global Const vbInactiveBorder = &H8000000B                'Border color of inactive window.
  62. Global Const vbApplicationWorkspace = &H8000000C          'Background color of multiple-document interface(MDI) applications.
  63. Global Const vbHighlight = &H8000000D                     'Background color of items selected in a control.
  64. Global Const vbHighlightText = &H8000000E                 'Text color of items selected in a control.
  65. Global Const vbButtonFace = &H8000000F                    'Color of shading on the face of command buttons.
  66. Global Const vbButtonShadow = &H80000010                  'Color of shading on the edge of command buttons.
  67. Global Const vbGrayText = &H80000011                      'Grayed (disabled) text.
  68. Global Const vbButtonText = &H80000012                    'Text color on push buttons.
  69. Global Const vbInactiveCaptionText = &H80000013           'Color of text in an inactive caption.
  70. Global Const vb3DHighlight = &H80000014                   'Highlight color for 3D display elements.
  71. Global Const vb3DDKShadow = &H80000015                    'Darkest shadow color for 3D display elements.
  72. Global Const vb3DLight = &H80000016                       'Second lightest of the 3D colors after vb3DHighlight.
  73. Global Const vbInfoText = &H80000017                      'Color of text in ToolTips.
  74. Global Const vbInfoBackground = &H80000018                'Background color of ToolTips.
  75.  
  76. 'File Open/Save Dialog Box Flags
  77. Global Const cdlOFNReadOnly = &H1                         'Checks Read-Only check box for Open and Save As dialog boxes.
  78. Global Const cdlOFNOverwritePrompt = &H2                  'Causes the Save As dialog box to generate a message box if the selected file already exists.
  79. Global Const cdlOFNHideReadOnly = &H4                     'Hides the Read-Only check box.
  80. Global Const cdlOFNNoChangeDir = &H8                      'Sets the current directory to what it was when the dialog box was invoked.
  81. Global Const cdlOFNHelpButton = &H10                      'Causes the dialog box to display the Help button.
  82. Global Const cdlOFNNoValidate = &H100                     'Allows invalid characters in the returned filename.
  83. Global Const cdlOFNAllowMultiselect = &H200               'Allows the File Name list box to have multiple selections.
  84. Global Const cdlOFNExtensionDifferent = &H400             'The extension of the returned filename is different from the extension set by the DefaultExt property.
  85. Global Const cdlOFNPathMustExist = &H800                  'User can enter only valid path names.
  86. Global Const cdlOFNFileMustExist = &H1000                 'User can enter only names of existing files.
  87. Global Const cdlOFNCreatePrompt = &H2000                  'Sets the dialog box to ask if the user wants to create a file that doesn't currently exist.
  88. Global Const cdlOFNShareAware = &H4000                    'Sharing violation errors will be ignored.
  89. Global Const cdlOFNNoReadOnlyReturn = &H8000              'The returned file doesn't have the Read-Only attribute set and won't be in a write-protected directory.
  90. Global Const cdlOFNExplorer = &H8000                      'Use the Explorer-like Open A File dialog box template.  (Windows 95 only.)
  91. Global Const cdlOFNNoDereferenceLinks = &H100000          'Do not dereference shortcuts (shell links).  By default, choosing a shortcut causes it to be dereferenced by the shell.  (Windows 95 only.)
  92. Global Const cdlOFNLongNames = &H200000                   'Use Long filenames.  (Windows 95 only.)
  93.  
  94. 'Color Dialog Box Flags
  95. Global Const cdlCCRGBInit = &H1                           'Sets initial color value for the dialog box.
  96. Global Const cdlCCFullOpen = &H2                          'Entire dialog box is displayed, including the Define Custom Colors section.
  97. Global Const cdlCCPreventFullOpen = &H4                   'Disables the Define Custom Colors section of the dialog box.
  98. Global Const cdlCCHelpButton = &H8                        'Dialog box displays a Help button.
  99.  
  100. 'Fonts Dialog Box Flags
  101. Global Const cdlCFScreenFonts = &H1                       'Dialog box lists only screen fonts supported by the system.
  102. Global Const cdlCFPrinterFonts = &H2                      'Dialog box lists only fonts supported by the printer.
  103. Global Const cdlCFBoth = &H3                              'Dialog box lists available screen and printer fonts.
  104. Global Const cdlCFHelpButton = &H4                        'Dialog box displays a Help button.
  105. Global Const cdlCFEffects = &H100                         'Dialog box enables strikeout, underline, and color effects.
  106. Global Const cdlCFApply = &H200                           'Dialog box enables the Apply button.
  107. Global Const cdlCFANSIOnly = &H400                        'Dialog box allows only a selection of fonts that use the Windows character set.
  108. Global Const cdlCFNoVectorFonts = &H800                   'Dialog box should not allow vector-font selections.
  109. Global Const cdlCFNoSimulations = &H1000                  'Dialog box should not allow graphic device interface (GDI) font simulations.
  110. Global Const cdlCFLimitSize = &H2000                      'Dialog box should select only font sizes within the range specified by the Min and Max properties.
  111. Global Const cdlCFFixedPitchOnly = &H4000                 'Dialog box should select only fixed-pitch fonts.
  112. Global Const cdlCFWYSIWYG = &H8000                        'Dialog box should allow only the selection of fonts available to both the screen and printer.
  113. Global Const cdlCFForceFontExist = &H10000                ' An error dialog box is displayed if a user selects a font or style that doesn't exist.
  114. Global Const cdlCFScalableOnly = &H20000                  'Dialog box should allow only the selection of scalable fonts.
  115. Global Const cdlCFTTOnly = &H40000                        'Dialog box should allow only the selection of TrueType fonts.
  116. Global Const cdlCFNoFaceSel = &H80000                     'No font name selected.
  117. Global Const cdlCFNoStyleSel = &H100000                   'No font style selected.
  118. Global Const cdlCFNoSizeSel = &H200000                    'No font size selected.
  119.  
  120. 'Printer Dialog Box Flags
  121. Global Const cdlPDAllPages = &H0                          'Returns or sets state of All Pages option button.
  122. Global Const cdlPDCollate = &H10                          'Returns or sets state of Collate check box.
  123. Global Const cdlPDDisablePrintToFile = &H80000            'Disables the Print To File check box.
  124. Global Const cdlPDHidePrintToFile = &H100000              'The Print To File check box isn't displayed.
  125. Global Const cdlPDNoPageNums = &H8                        'Returns or sets the state of the Pages option button.
  126. Global Const cdlPDNoSelection = &H4                       'Disables the Selection option button.
  127. Global Const cdlPDNoWarning = &H80                        'Prevents a warning message when there is no default printer.
  128. Global Const cdlPDPageNums = &H2                          'Returns or sets the state of the Pages option button.
  129. Global Const cdlPDPrintSetup = &H40                       'Displays the Print Setup dialog box rather than the Print dialog box.
  130. Global Const cdlPDPrintToFile = &H20                      'Returns or sets the state of the Print To File check box.
  131. Global Const cdlPDReturnDC = &H100                        'Returns a device context for the printer selection value returned in the hDC property of the dialog box.
  132. Global Const cdlPDReturnDefault = &H400                   'Returns default printer name.
  133. Global Const cdlPDReturnIC = &H200                        'Returns an information context for the printer selection value returned in the hDC property of the dialog box.
  134. Global Const cdlPDSelection = &H1                         'Returns or sets the state of the Selection option button.
  135. Global Const cdlPDHelpButton = &H800                      'Dialog box displays the Help button.
  136. Global Const cdlPDUseDevModeCopies = &H40000              'Sets support for multiple copies action; depends upon whether or not printer supports multiple copies.
  137.  
  138. 'CommonDialog Error Constants
  139. Global Const cdlAlloc = &H7FF0&                           'Couldn't allocate memory for FileName or Filter property.
  140. Global Const cdlCancel = &H7FF3&                          'Cancel was selected.
  141. Global Const cdlDialogFailure = &H8000&                   'The function failed to load the dialog box.
  142. Global Const cdlFindResFailure = &H7FF9&                  'The function failed to load a specified resource.
  143. Global Const cdlHelp = &H7FEF&                            'Call to Windows Help failed.
  144. Global Const cdlInitialization = &H7FFD&                  'The function failed during initialization.
  145. Global Const cdlLoadResFailure = &H7FF8&                  'The function failed to load a specified string.
  146. Global Const cdlLockResFailure = &H7FF7&                  'The function failed to lock a specified resource.
  147. Global Const cdlMemAllocFailure = &H7FF6&                 'The function was unable to allocate memory for internal data structures.
  148. Global Const cdlMemLockFailure = &H7FF5&                  'The function was unable to lock the memory associated with a handle.
  149. Global Const cdlNoFonts = &H5FFE&                         'No fonts exist.
  150. Global Const cdlBufferTooSmall = &H4FFC&                  'The buffer at which the member lpstrFile points is too small.
  151. Global Const cdlInvalidFileName = &H4FFD&                 'Filename is invalid.
  152. Global Const cdlSubclassFailure = &H4FFE&                 'An attempt to subclass a list box failed due to insufficient memory.
  153. Global Const cdlCreateICFailure = &H6FF5&                 'The PrintDlg function failed when it attempted to create an information context.
  154. Global Const cdlDndmMismatch = &H6FF6&                    'Data in the DevMode and DevNames data structures describe two different printers.
  155. Global Const cdlGetDevModeFail = &H6FFA&                  'The printer device driver failed to initialize a DevMode data structure.
  156. Global Const cdlInitFailure = &H6FF9&                     'The PrintDlg function failed during initialization.
  157. Global Const cdlLoadDrvFailure = &H6FFB&                  'The PrintDlg function failed to load the specified printer's device driver.
  158. Global Const cdlNoDefaultPrn = &H6FF7&                    'A default printer doesn't exist.
  159. Global Const cdlNoDevices = &H6FF8&                       'No printer device drivers were found.
  160. Global Const cdlParseFailure = &H6FFD&                    'The CommonDialog function failed to parse the strings in the [devices] section of WIN.INI.
  161. Global Const cdlPrinterCodes = &H6FFF&                    'The PDReturnDefault flag was set, but either the hDevMode or hDevNames field was nonzero.
  162. Global Const cdlPrinterNotFound = &H6FF4&                 'The [devices] section of WIN.INI doesn't contain an entry for the requested printer.
  163. Global Const cdlRetDefFailure = &H6FFC&                   'The PDReturnDefault flag was set, but either the hDevMode or hDevNames field was nonzero.
  164. Global Const cdlSetupFailure = &H6FFE&                    'Failed to load required resources.
  165.  
  166. 'Control Constants
  167.  
  168. 'ComboBox Control
  169. Global Const vbComboDropdown = 0                          'Dropdown Combo.
  170. Global Const vbComboSimple = 1                            'Simple Combo.
  171. Global Const vbComboDropdownList = 2                      'Dropdown List.
  172.  
  173. 'ListBox Control
  174. Global Const vbMultiSelectNone = 0                        'None.
  175. Global Const vbMultiSelectSimple = 1                      'Simple.
  176. Global Const vbMultiSelectExtended = 2                    'Extended.
  177.  
  178. 'ScrollBar Control
  179. Global Const vbSBNone = 0                                 'None.
  180. Global Const vbHorizontal = 1                             'Horizontal.
  181. Global Const vbVertical = 2                               'Vertical.
  182. Global Const vbBoth = 3                                   'Both.
  183.  
  184. 'Shape Control
  185. Global Const vbShapeRectangle = 0                         'Rectangle.
  186. Global Const vbShapeSquare = 1                            'Square.
  187. Global Const vbShapeOval = 2                              'Oval.
  188. Global Const vbShapeCircle = 3                            'Circle.
  189. Global Const vbShapeRoundedRectangle = 4                  'Rounded rectangle.
  190. Global Const vbShapeRoundedSquare = 5                     'Rounded square.
  191.  
  192. 'Data Control Constants
  193.  
  194. 'Error Event Constants
  195. Global Const vbDataErrContinue = 0                        'Continue.
  196. Global Const vbDataErrDisplay = 1                         '(Default) Display the error message.
  197.  
  198. 'EditMode Property Constants
  199. Global Const vbDataEditNone = 0                           'No editing operation in progress.
  200. Global Const vbDataEditMode = 1                           'Edit method invoked; current record in copy buffer.
  201. Global Const vbDataEditAdd = 2                            'AddNew method invoked; current record hasn't been saved.
  202.  
  203. 'Options Property Constants
  204. Global Const vbDataDenyWrite = 1                          'Other users can't change records in recordset.
  205. Global Const vbDataDenyRead = 2                           'Other users can't read records in recordset.
  206. Global Const vbDataReadOnly = 4                           'No user can change records in recordset.
  207. Global Const vbDataAppendOnly = 8                         'New records can be added to the recordset, but existing records can't be read.
  208. Global Const vbDataInconsistent = 16                      'Updates can apply to all fields of the recordset.
  209. Global Const vbDataConsistent = 32                        'Updates apply only to those fields that will not affect other records in the recordset.
  210. Global Const vbDataSQLPassThrough = 64                    'Sends an SQL statement to an ODBC database.
  211.  
  212. 'Validate Event Action Constants
  213. Global Const vbDataActionCancel = 0                       'Cancel the operation when the Sub exits.
  214. Global Const vbDataActionMoveFirst = 1                    'MoveFirst method.
  215. Global Const vbDataActionMovePrevious = 2                 'MovePrevious method.
  216. Global Const vbDataActionMoveNext = 3                     'MoveNext method.
  217. Global Const vbDataActionMoveLast = 4                     'MoveLast method.
  218. Global Const vbDataActionAddNew = 5                       'AddNew method.
  219. Global Const vbDataActionUpdate = 6                       'Update operation (not UpdateRecord).
  220. Global Const vbDataActionDelete = 7                       'Delete method.
  221. Global Const vbDataActionFind = 8                         'Find method.
  222. Global Const vbDataActionBookmark = 9                     'The Bookmark property is set.
  223. Global Const vbDataActionClose = 10                       'Close method.
  224. Global Const vbDataActionUnload = 11                      'The form is being unloaded.
  225.  
  226. 'Beginning-of-File Constants
  227. Global Const vbMoveFirst = 0                              'Move to first record.
  228. Global Const vbBOF = 1                                    'Move to beginning of file.
  229.  
  230. 'End-of-File Constants
  231. Global Const vbMoveLast = 0                               'Move to last record.
  232. Global Const vbEOF = 1                                    'Move to end of file.
  233. Global Const vbAddNew = 2                                 'Add new record to end of file.
  234.  
  235. 'Recordset-Type Constants
  236. Global Const vbRSTypeTable = 0                            'Table-type recordset.
  237. Global Const vbRSTypeDynaset = 1                          'Dynaset-type recordset.
  238. Global Const vbRSTypeSnapShot = 2                         'Snapshot-type recordset.
  239.  
  240. 'DBGrid Control Constants
  241.  
  242. 'Alignment Constants
  243. Global Const dbgLeft = 0                                  'Left.
  244. Global Const dbgRight = 1                                 'Right.
  245. Global Const dbgCenter = 2                                'Center.
  246. Global Const dbgGeneral = 3                               'General.
  247.  
  248. 'BorderStyle Constants
  249. Global Const dbgNone = 0                                  'None.
  250. Global Const dbgFixedSingle = 1                           'FixedSingle.
  251.  
  252. 'DataMode Constants
  253. Global Const dbgBound = 0                                 'Bound.
  254. Global Const dbgUnbound = 1                               'Unbound.
  255.  
  256. 'DividerStyle Constants
  257. Global Const dbgNoDividers = 0                            'NoDividers.
  258. Global Const dbgBlackLine = 1                             'BlackLine.
  259. Global Const dbgDarkGrayLine = 2                          'DarkGrayLine.
  260. Global Const dbgRaised = 3                                'Raised.
  261. Global Const dbgInset = 4                                 'Inset.
  262. Global Const dbgUseForeColor = 5                          'UseForeColor.
  263.  
  264. 'Scroll Bar Constants
  265. Global Const dbgHorizontal = 1                            'Horizontal.
  266. Global Const dbgVertical = 2                              'Vertical.
  267. Global Const dbgBoth = 3                                  'Both.
  268. Global Const dbgAutomatic = 4                             'Automatic.
  269.  
  270. 'DBList and DBCombo Controls Constants
  271.  
  272. 'Appearance Constants
  273. Global Const dblFlat = 0                                  'Flat appearance of DBList or DBCombo control.
  274. Global Const dbl3D = 1                                    'Three-dimensional appearance of DBList or DBCombo control.
  275.  
  276. 'Area Constants (DBCombo only)
  277. Global Const dbcAreaButton = 0                            'Returns the location of the DBCombo control's button when a Click or Double-Click event occurs there.
  278. Global Const dbcAreaEdit = 1                              'Returns the location of the DBCombo control's text box when a Click or Double-Click event occurs there.
  279. Global Const dbcAreaList = 2                              'Returns the location of the DBCombo control's list box when a Click or Double-Click event occurs there.
  280.  
  281. 'Match Entry Constants
  282. Global Const dblBasicMatching = 0                         'Basic matching.
  283. Global Const dblExtendedMatching = 1                      'Extended matching.
  284.  
  285. 'MousePointer Constants
  286. Global Const dblDefault = 0                               '(Default) Shape determined by the object.
  287. Global Const dblArrow = 1                                 'Arrow.
  288. Global Const dblCross = 2                                 'Cross (cross-hair pointer).
  289. Global Const dblIBeam = 3                                 'I-Beam.
  290. Global Const dblIcon = 4                                  'Icon (small square within a square).
  291. Global Const dblSize = 5                                  'Size (four-pointed arrow pointing north, south, east, and west).
  292. Global Const dblSizeNESW = 6                              'Size NE SW (double arrow pointing northeast and southwest).
  293. Global Const dblSizeNS = 7                                'Size N S (double arrow pointing north and south).
  294. Global Const dblSizeNWSE = 8                              'Size NW SE (double arrow pointing northwest and southeast).
  295. Global Const dblSizeEW = 9                                'Size E W (double arrow pointing east and west).
  296. Global Const dblUpArrow = 10                              'Up Arrow.
  297. Global Const dblHourglass = 11                            'Hourglass (wait).
  298. Global Const dblNoDrop = 12                               'No Drop.
  299. Global Const dblArrowHourglass = 13                       'Arrow and hourglass.
  300. Global Const dblArrowQuestion = 14                        'Arrow and question mark.
  301. Global Const dblSizeAll = 15                              'Size all (can be customized under Microsoft Windows NT 3.51)
  302. Global Const dblCustom = 99                               'Custom icon specified by the MouseIcon property.
  303.  
  304. 'Style Constants
  305. Global Const dblDropdownCombo = 0                         'Drop-down Combo.
  306. Global Const dblSimpleCombo = 1                           'Simple combo.
  307. Global Const dblDropdownList = 2                          'Drop-down list.
  308.  
  309. 'DDE Constants
  310.  
  311. 'linkerr (LinkError Event)
  312. Global Const vbWrongFormat = 1                            'Another application requested data in wrong format.
  313. Global Const vbDDESourceClosed = 6                        'Destination application attempted to continue after source closed.
  314. Global Const vbTooManyLinks = 7                           'All source links are in use.
  315. Global Const vbDataTransferFailed = 8                     'Failure to update data in destination.
  316.  
  317. 'LinkMode Property (Forms and Controls)
  318. Global Const vbLinkNone = 0                               'None.
  319. Global Const vbLinkSource = 1                             'Source (forms only).
  320. Global Const vbLinkAutomatic = 1                          'Automatic (controls only).
  321. Global Const vbLinkManual = 2                             'Manual (controls only).
  322. Global Const vbLinkNotify = 3                             'Notify (controls only).
  323.  
  324. 'LinkMode Property (Only for backward compatibility with Visual Basic version 1.0; use new constants instead).
  325. Global Const vbHot = 1                                    'Hot (controls only).
  326. Global Const vbServer = 1                                 'Server (forms only).
  327. Global Const vbCold = 2                                   'Cold (controls only).
  328.  
  329. 'Drag-and-Drop Constants
  330.  
  331. 'DragOver Event
  332. Global Const vbEnter = 0                                  'Source control dragged into target.
  333. Global Const vbLeave = 1                                  'Source control dragged out of target.
  334. Global Const vbOver = 2                                   'Source control dragged from one position in target to another.
  335.  
  336. 'Drag Method (Controls)
  337.  
  338. 'Global Const vbCancel = 0                                 'Cancel drag operation.
  339. Global Const vbBeginDrag = 1                              'Begin dragging control.
  340. Global Const vbEndDrag = 2                                'Drop control.
  341.  
  342. 'DragMode Property
  343. Global Const vbManual = 0                                 'Manual.
  344. Global Const vbAutomatic = 1                              'Automatic.
  345.  
  346. 'Drawing Constants
  347.  
  348. 'DrawMode Property
  349. Global Const vbBlackness = 1                              'Black.
  350. Global Const vbNotMergePen = 2                            'Not Merge pen.
  351. Global Const vbMaskNotPen = 3                             'Mask Not pen.
  352. Global Const vbNotCopyPen = 4                             'Not Copy pen.
  353. Global Const vbMaskPenNot = 5                             'Mask pen Not.
  354. Global Const vbInvert = 6                                 'Invert.
  355. Global Const vbXorPen = 7                                 'Xor pen.
  356. Global Const vbNotMaskPen = 8                             'Not Mask pen.
  357. Global Const vbMaskPen = 9                                'Mask pen.
  358. Global Const vbNotXorPen = 10                             'Not Xor pen.
  359. Global Const vbNop = 11                                   'No operation; output remains unchanged.
  360. Global Const vbMergeNotPen = 12                           'Merge Not pen.
  361. Global Const vbCopyPen = 13                               'Copy pen.
  362. Global Const vbMergePenNot = 14                           'Merge pen Not.
  363. Global Const vbMergePen = 15                              'Merge pen.
  364. Global Const vbWhiteness = 16                             'White.
  365.  
  366. 'DrawStyle Property
  367. Global Const vbSolid = 0                                  'Solid.
  368. Global Const vbDash = 1                                   'Dash.
  369. Global Const vbDot = 2                                    'Dot.
  370. Global Const vbDashDot = 3                                'Dash-dot.
  371. Global Const vbDashDotDot = 4                             'Dash-dot-dot.
  372. Global Const vbInvisible = 5                              'Invisible.
  373. Global Const vbInsideSolid = 6                            'Inside solid.
  374.  
  375. '
  376.  
  377. 'Form Constants
  378.  
  379. 'Show Parameters
  380. Global Const vbModal = 1                                  'Modal form.
  381. Global Const vbModeless = 0                               'Modeless form.
  382.  
  383. 'Arrange Method for MDI Forms
  384. Global Const vbCascade = 0                                'Cascade all nonminimized MDI child forms.
  385. Global Const vbTileHorizontal = 1                         'Horizontally tile all nonminimized MDI child forms.
  386. Global Const vbTileVertical = 2                           'Vertically tile all nonminimized MDI child forms.
  387. Global Const vbArrangeIcons = 3                           'Arrange icons for minimized MDI child forms.
  388.  
  389. 'WindowState Property
  390. Global Const vbNormal = 0                                 'Normal.
  391. Global Const vbMinimized = 1                              'Minimized.
  392. Global Const vbMaximized = 2                              'Maximized.
  393.  
  394. 'Graphics Constants
  395.  
  396. 'FillStyle Property
  397. Global Const vbFSSolid = 0                                'Solid.
  398. Global Const vbFSTransparent = 1                          'Transparent.
  399. Global Const vbHorizontalLine = 2                         'Horizontal line.
  400. Global Const vbVerticalLine = 3                           'Vertical line.
  401. Global Const vbUpwardDiagonal = 4                         'Upward diagonal.
  402. Global Const vbDownwardDiagonal = 5                       'Downward diagonal.
  403. Global Const vbCross = 6                                  'Cross.
  404. Global Const vbDiagonalCross = 7                          'Diagonal cross.
  405.  
  406. 'ScaleMode Property
  407. Global Const vbUser = 0                                   'User.
  408. Global Const vbTwips = 1                                  'Twips.
  409. Global Const vbPoints = 2                                 'Points.
  410. Global Const vbPixels = 3                                 'Pixels.
  411. Global Const vbCharacters = 4                             'Characters.
  412. Global Const vbInches = 5                                 'Inches.
  413. Global Const vbMillimeters = 6                            'Millimeters.
  414. Global Const vbCentimeters = 7                            'Centimeters.
  415.  
  416. 'Grid Control Constants
  417.  
  418. 'ColAlignment, FixedAlignment Properties
  419. Global Const grdAlignCenter = 2                           'Center data in column.
  420. Global Const grdAlignLeft = 0                             'Left-align data in column.
  421. Global Const grdAlignRight = 1                            'Right-align data in column.
  422.  
  423. 'FillStyle Property
  424. Global Const grdSingle = 0                                'Changing Text property setting affects only active cell.
  425. Global Const grdRepeat = 1                                'Changing Text property setting affects all selected cells.
  426.  
  427. 'Help Constants
  428. Global Const cdlHelpContext = &H1                         'Displays Help for a particular topic.
  429. Global Const cdlHelpQuit = &H2                            'Notifies the Help application that the specified Help file is no longer in use.
  430. Global Const cdlHelpIndex = &H3                           'Displays the index of the specified Help file.
  431. Global Const cdlHelpContents = &H3                        'Displays the contents topic in the current Help file.
  432. Global Const cdlHelpHelpOnHelp = &H4                      'Displays Help for using the Help application itself.
  433. Global Const cdlHelpSetIndex = &H5                        'Sets the current index for multi-index Help.
  434. Global Const cdlHelpSetContents = &H5                     'Designates a specific topic as the contents topic.
  435. Global Const cdlHelpContextPopup = &H8                    'Displays a topic identified by a context number.
  436. Global Const cdlHelpForceFile = &H9                       'Creates a Help file that displays text in only one font.
  437. Global Const cdlHelpKey = &H101                           'Displays Help for a particular keyword.
  438. Global Const cdlHelpCommandHelp = &H102                   'Displays Help for a particular command.
  439. Global Const cdlHelpPartialKey = &H105                    'Calls the search engine in Windows Help.
  440.  
  441. 'Key Code Constants
  442.  
  443. 'Key Codes
  444. Global Const vbKeyLButton = &H1                           'Left mouse button.
  445. Global Const vbKeyRButton = &H2                           'Right mouse button.
  446. Global Const vbKeyCancel = &H3                            'CANCEL key.
  447. Global Const vbKeyMButton = &H4                           'Middle mouse button.
  448. Global Const vbKeyBack = &H8                              'BACKSPACE key.
  449. Global Const vbKeyTab = &H9                               'TAB key.
  450. Global Const vbKeyClear = &HC                             'CLEAR key.
  451. Global Const vbKeyReturn = &HD                            'ENTER key.
  452. Global Const vbKeyShift = &H10                            'SHIFT key.
  453. Global Const vbKeyControl = &H11                          'CTRL key.
  454. Global Const vbKeyMenu = &H12                             'MENU key.
  455. Global Const vbKeyPause = &H13                            'PAUSE key.
  456. Global Const vbKeyCapital = &H14                          'CAPS LOCK key.
  457. Global Const vbKeyEscape = &H1B                           'ESC key.
  458. Global Const vbKeySpace = &H20                            'SPACEBAR key.
  459. Global Const vbKeyPageUp = &H21                           'PAGE UP key.
  460. Global Const vbKeyPageDown = &H22                         'PAGE DOWN key.
  461. Global Const vbKeyEnd = &H23                              'END key.
  462. Global Const vbKeyHome = &H24                             'HOME key.
  463. Global Const vbKeyLeft = &H25                             'LEFT ARROW key.
  464. Global Const vbKeyUp = &H26                               'UP ARROW key.
  465. Global Const vbKeyRight = &H27                            'RIGHT ARROW key.
  466. Global Const vbKeyDown = &H28                             'DOWN ARROW key.
  467. Global Const vbKeySelect = &H29                           'SELECT key.
  468. Global Const vbKeyPrint = &H2A                            'PRINT SCREEN key.
  469. Global Const vbKeyExecute = &H2B                          'EXECUTE key.
  470. Global Const vbKeySnapshot = &H2C                         'SNAPSHOT key.
  471. Global Const vbKeyInsert = &H2D                           'INS key.
  472. Global Const vbKeyDelete = &H2E                           'DEL key.
  473. Global Const vbKeyHelp = &H2F                             'HELP key.
  474. Global Const vbKeyNumlock = &H90                          'NUM LOCK key.
  475.  
  476. 'KeyA Through KeyZ Are the Same as Their ASCII Equivalents: 'A' Through 'Z'
  477. Global Const vbKeyA = 65                                  'A key.
  478. Global Const vbKeyB = 66                                  'B key.
  479. Global Const vbKeyC = 67                                  'C key.
  480. Global Const vbKeyD = 68                                  'D key.
  481. Global Const vbKeyE = 69                                  'E key.
  482. Global Const vbKeyF = 70                                  'F key.
  483. Global Const vbKeyG = 71                                  'G key.
  484. Global Const vbKeyH = 72                                  'H key.
  485. Global Const vbKeyI = 73                                  'I key.
  486. Global Const vbKeyJ = 74                                  'J key.
  487. Global Const vbKeyK = 75                                  'K key.
  488. Global Const vbKeyL = 76                                  'L key.
  489. Global Const vbKeyM = 77                                  'M key.
  490. Global Const vbKeyN = 78                                  'N key.
  491. Global Const vbKeyO = 79                                  'O key.
  492. Global Const vbKeyP = 80                                  'P key.
  493. Global Const vbKeyQ = 81                                  'Q key.
  494. Global Const vbKeyR = 82                                  'R key.
  495. Global Const vbKeyS = 83                                  'S key.
  496. Global Const vbKeyT = 84                                  'T key.
  497. Global Const vbKeyU = 85                                  'U key.
  498. Global Const vbKeyV = 86                                  'V key.
  499. Global Const vbKeyW = 87                                  'W key.
  500. Global Const vbKeyX = 88                                  'X key.
  501. Global Const vbKeyY = 89                                  'Y key.
  502. Global Const vbKeyZ = 90                                  'Z key.
  503.  
  504. 'Key0 Through Key9 Are the Same as Their ASCII Equivalents: '0' Through '9'
  505. Global Const vbKey0 = 48                                  '0 key.
  506. Global Const vbKey1 = 49                                  '1 key.
  507. Global Const vbKey2 = 50                                  '2 key.
  508. Global Const vbKey3 = 51                                  '3 key.
  509. Global Const vbKey4 = 52                                  '4 key.
  510. Global Const vbKey5 = 53                                  '5 key.
  511. Global Const vbKey6 = 54                                  '6 key.
  512. Global Const vbKey7 = 55                                  '7 key.
  513. Global Const vbKey8 = 56                                  '8 key.
  514. Global Const vbKey9 = 57                                  '9 key.
  515.  
  516. 'Keys on the Numeric Keypad
  517. Global Const vbKeyNumpad0 = &H60                          '0 key.
  518. Global Const vbKeyNumpad1 = &H61                          '1 key.
  519. Global Const vbKeyNumpad2 = &H62                          '2 key.
  520. Global Const vbKeyNumpad3 = &H63                          '3 key.
  521. Global Const vbKeyNumpad4 = &H64                          '4 key.
  522. Global Const vbKeyNumpad5 = &H65                          '5 key.
  523. Global Const vbKeyNumpad6 = &H66                          '6 key.
  524. Global Const vbKeyNumpad7 = &H67                          '7 key.
  525. Global Const vbKeyNumpad8 = &H68                          '8 key.
  526. Global Const vbKeyNumpad9 = &H69                          '9 key.
  527. Global Const vbKeyMultiply = &H6A                         'MULTIPLICATION SIGN (*) key.
  528. Global Const vbKeyAdd = &H6B                              'PLUS SIGN (+) key.
  529. Global Const vbKeySeparator = &H6C                        'ENTER key.
  530. Global Const vbKeySubtract = &H6D                         'MINUS SIGN (-) key.
  531. Global Const vbKeyDecimal = &H6E                          'DECIMAL POINT(.) key.
  532. Global Const vbKeyDivide = &H6F                           'DIVISION SIGN (/) key.
  533.  
  534. 'Function Keys
  535. Global Const vbKeyF1 = &H70                               'F1 key.
  536. Global Const vbKeyF2 = &H71                               'F2 key.
  537. Global Const vbKeyF3 = &H72                               'F3 key.
  538. Global Const vbKeyF4 = &H73                               'F4 key.
  539. Global Const vbKeyF5 = &H74                               'F5 key.
  540. Global Const vbKeyF6 = &H75                               'F6 key.
  541. Global Const vbKeyF7 = &H76                               'F7 key.
  542. Global Const vbKeyF8 = &H77                               'F8 key.
  543. Global Const vbKeyF9 = &H78                               'F9 key.
  544. Global Const vbKeyF10 = &H79                              'F10 key.
  545. Global Const vbKeyF11 = &H7A                              'F11 key.
  546. Global Const vbKeyF12 = &H7B                              'F12 key.
  547. Global Const vbKeyF13 = &H7C                              'F13 key.
  548. Global Const vbKeyF14 = &H7D                              'F14 key.
  549. Global Const vbKeyF15 = &H7E                              'F15 key.
  550. Global Const vbKeyF16 = &H7F                              'F16 key.
  551.  
  552. 'Menu Accelerator Constants
  553. Global Const vbMenuAccelCtrlA = 1                         'User-defined shortcut keystrokes.
  554. Global Const vbMenuAccelCtrlB = 2                         'User-defined shortcut keystrokes.
  555. Global Const vbMenuAccelCtrlC = 3                         'User-defined shortcut keystrokes.
  556. Global Const vbMenuAccelCtrlD = 4                         'User-defined shortcut keystrokes.
  557. Global Const vbMenuAccelCtrlE = 5                         'User-defined shortcut keystrokes.
  558. Global Const vbMenuAccelCtrlF = 6                         'User-defined shortcut keystrokes.
  559. Global Const vbMenuAccelCtrlG = 7                         'User-defined shortcut keystrokes.
  560. Global Const vbMenuAccelCtrlH = 8                         'User-defined shortcut keystrokes.
  561. Global Const vbMenuAccelCtrlI = 9                         'User-defined shortcut keystrokes.
  562. Global Const vbMenuAccelCtrlJ = 10                        'User-defined shortcut keystrokes.
  563. Global Const vbMenuAccelCtrlK = 11                        'User-defined shortcut keystrokes.
  564. Global Const vbMenuAccelCtrlL = 12                        'User-defined shortcut keystrokes.
  565. Global Const vbMenuAccelCtrlM = 13                        'User-defined shortcut keystrokes.
  566. Global Const vbMenuAccelCtrlN = 14                        'User-defined shortcut keystrokes.
  567. Global Const vbMenuAccelCtrlO = 15                        'User-defined shortcut keystrokes.
  568. Global Const vbMenuAccelCtrlP = 16                        'User-defined shortcut keystrokes.
  569. Global Const vbMenuAccelCtrlQ = 17                        'User-defined shortcut keystrokes.
  570. Global Const vbMenuAccelCtrlR = 18                        'User-defined shortcut keystrokes.
  571. Global Const vbMenuAccelCtrlS = 19                        'User-defined shortcut keystrokes.
  572. Global Const vbMenuAccelCtrlT = 20                        'User-defined shortcut keystrokes.
  573. Global Const vbMenuAccelCtrlU = 21                        'User-defined shortcut keystrokes.
  574. Global Const vbMenuAccelCtrlV = 22                        'User-defined shortcut keystrokes.
  575. Global Const vbMenuAccelCtrlW = 23                        'User-defined shortcut keystrokes.
  576. Global Const vbMenuAccelCtrlX = 24                        'User-defined shortcut keystrokes.
  577. Global Const vbMenuAccelCtrlY = 25                        'User-defined shortcut keystrokes.
  578. Global Const vbMenuAccelCtrlZ = 26                        'User-defined shortcut keystrokes.
  579. Global Const vbMenuAccelF1 = 27                           'User-defined shortcut keystrokes.
  580. Global Const vbMenuAccelF2 = 28                           'User-defined shortcut keystrokes.
  581. Global Const vbMenuAccelF3 = 29                           'User-defined shortcut keystrokes.
  582. Global Const vbMenuAccelF4 = 30                           'User-defined shortcut keystrokes.
  583. Global Const vbMenuAccelF5 = 31                           'User-defined shortcut keystrokes.
  584. Global Const vbMenuAccelF6 = 32                           'User-defined shortcut keystrokes.
  585. Global Const vbMenuAccelF7 = 33                           'User-defined shortcut keystrokes.
  586. Global Const vbMenuAccelF8 = 34                           'User-defined shortcut keystrokes.
  587. Global Const vbMenuAccelF9 = 35                           'User-defined shortcut keystrokes.
  588. Global Const vbMenuAccelF11 = 36                          'User-defined shortcut keystrokes.
  589. Global Const vbMenuAccelF12 = 37                          'User-defined shortcut keystrokes.
  590. Global Const vbMenuAccelCtrlF1 = 38                       'User-defined shortcut keystrokes.
  591. Global Const vbMenuAccelCtrlF2 = 39                       'User-defined shortcut keystrokes.
  592. Global Const vbMenuAccelCtrlF3 = 40                       'User-defined shortcut keystrokes.
  593. Global Const vbMenuAccelCtrlF4 = 41                       'User-defined shortcut keystrokes.
  594. Global Const vbMenuAccelCtrlF5 = 42                       'User-defined shortcut keystrokes.
  595. Global Const vbMenuAccelCtrlF6 = 43                       'User-defined shortcut keystrokes.
  596. Global Const vbMenuAccelCtrlF7 = 44                       'User-defined shortcut keystrokes.
  597. Global Const vbMenuAccelCtrlF8 = 45                       'User-defined shortcut keystrokes.
  598. Global Const vbMenuAccelCtrlF9 = 46                       'User-defined shortcut keystrokes.
  599. Global Const vbMenuAccelCtrlF11 = 47                      'User-defined shortcut keystrokes.
  600. Global Const vbMenuAccelCtrlF12 = 48                      'User-defined shortcut keystrokes.
  601. Global Const vbMenuAccelShiftF1 = 49                      'User-defined shortcut keystrokes.
  602. Global Const vbMenuAccelShiftF2 = 50                      'User-defined shortcut keystrokes.
  603. Global Const vbMenuAccelShiftF3 = 51                      'User-defined shortcut keystrokes.
  604. Global Const vbMenuAccelShiftF4 = 52                      'User-defined shortcut keystrokes.
  605. Global Const vbMenuAccelShiftF5 = 53                      'User-defined shortcut keystrokes.
  606. Global Const vbMenuAccelShiftF6 = 54                      'User-defined shortcut keystrokes.
  607. Global Const vbMenuAccelShiftF7 = 55                      'User-defined shortcut keystrokes.
  608. Global Const vbMenuAccelShiftF8 = 56                      'User-defined shortcut keystrokes.
  609. Global Const vbMenuAccelShiftF9 = 57                      'User-defined shortcut keystrokes.
  610. Global Const vbMenuAccelShiftF11 = 58                     'User-defined shortcut keystrokes.
  611. Global Const vbMenuAccelShiftF12 = 59                     'User-defined shortcut keystrokes.
  612. Global Const vbMenuAccelShiftCtrlF1 = 60                  'User-defined shortcut keystrokes.
  613. Global Const vbMenuAccelShiftCtrlF2 = 61                  'User-defined shortcut keystrokes.
  614. Global Const vbMenuAccelShiftCtrlF3 = 62                  'User-defined shortcut keystrokes.
  615. Global Const vbMenuAccelShiftCtrlF4 = 63                  'User-defined shortcut keystrokes.
  616. Global Const vbMenuAccelShiftCtrlF5 = 64                  'User-defined shortcut keystrokes.
  617. Global Const vbMenuAccelShiftCtrlF6 = 65                  'User-defined shortcut keystrokes.
  618. Global Const vbMenuAccelShiftCtrlF7 = 66                  'User-defined shortcut keystrokes.
  619. Global Const vbMenuAccelShiftCtrlF8 = 67                  'User-defined shortcut keystrokes.
  620. Global Const vbMenuAccelShiftCtrlF9 = 68                  'User-defined shortcut keystrokes.
  621. Global Const vbMenuAccelShiftCtrlF11 = 69                 'User-defined shortcut keystrokes.
  622. Global Const vbMenuAccelShiftCtrlF12 = 70                 'User-defined shortcut keystrokes.
  623. Global Const vbMenuAccelCtrlIns = 71                      'User-defined shortcut keystrokes.
  624. Global Const vbMenuAccelShiftIns = 72                     'User-defined shortcut keystrokes.
  625. Global Const vbMenuAccelDel = 73                          'User-defined shortcut keystrokes.
  626. Global Const vbMenuAccelShiftDel = 74                     'User-defined shortcut keystrokes.
  627. Global Const vbMenuAccelAltBksp = 75                      'User-defined shortcut keystrokes.
  628.  
  629. 'Menu Control Constants
  630.  
  631. 'PopupMenu Method Alignment
  632. Global Const vbPopupMenuLeftAlign = 0                     'Pop-up menu left-aligned.
  633. Global Const vbPopupMenuCenterAlign = 4                   'Pop-up menu centered.
  634. Global Const vbPopupMenuRightAlign = 8                    'Pop-up menu right-aligned.
  635.  
  636. 'PopupMenu Mouse Button Recognition
  637. Global Const vbPopupMenuLeftButton = 0                    'Pop-up menu recognizes left mouse button only.
  638. Global Const vbPopupMenuRightButton = 2                   'Pop-up menu recognizes right and left mouse buttons.
  639.  
  640. 'Miscellaneous Constants
  641.  
  642. 'ZOrder Method
  643. Global Const vbBringToFront = 0                           'Bring to front.
  644. Global Const vbSendToBack = 1                             'Send to back.
  645.  
  646. 'QueryUnload Method
  647. Global Const vbAppWindows = 2                             'Current Windows session ending.
  648. Global Const vbFormMDIForm = 4                            'MDI child form is closing because the MDI form is closing.
  649. Global Const vbFormCode = 1                               'Unload method invoked from code.
  650. Global Const vbFormControlMenu = 0                        'User has chosen Close command from the Control-menu box on a form.
  651. Global Const vbAppTaskManager = 3                         'Windows Task Manager is closing the application.
  652.  
  653. 'Shift Parameter Masks
  654. Global Const vbShiftMask = 1                              'SHIFT key bit mask.
  655. Global Const vbCtrlMask = 2                               'CTRL key bit mask.
  656. Global Const vbAltMask = 4                                'ALT key bit mask.
  657.  
  658. 'Button Parameter Masks
  659. Global Const vbLeftButton = 1                             'Left mouse button.
  660. Global Const vbRightButton = 2                            'Right mouse button.
  661. Global Const vbMiddleButton = 4                           'Middle mouse button.
  662.  
  663. 'Application Start Mode
  664. Global Const vbSModeStandalone = 0                        'Stand-alone application.
  665. Global Const vbSModeAutomation = 1                        'OLE automation server.
  666.  
  667. 'LoadResPicture Method
  668. Global Const vbResBitmap = 0                              'Bitmap resource.
  669. Global Const vbResIcon = 1                                'Icon resource.
  670. Global Const vbResCursor = 2                              'Cursor resource.
  671.  
  672. 'Check Value
  673. Global Const vbUnchecked = 0                              'Unchecked.
  674. Global Const vbChecked = 1                                'Checked.
  675. Global Const vbGrayed = 2                                 'Grayed.
  676.  
  677. 'Mouse Pointer Constants
  678. Global Const vbDefault = 0                                'Default.
  679. Global Const vbArrow = 1                                  'Arrow.
  680. Global Const vbCrosshair = 2                              'Cross.
  681. Global Const vbIbeam = 3                                  'I beam.
  682. Global Const vbIconPointer = 4                            'Icon.
  683. Global Const vbSizePointer = 5                            'Size.
  684. Global Const vbSizeNESW = 6                               'Size NE, SW.
  685. Global Const vbSizeNS = 7                                 'Size N, S.
  686. Global Const vbSizeNWSE = 8                               'Size NW, SE.
  687. Global Const vbSizeWE = 9                                 'Size W, E.
  688. Global Const vbUpArrow = 10                               'Up arrow.
  689. Global Const vbHourglass = 11                             'Hourglass.
  690. Global Const vbNoDrop = 12                                'No drop.
  691. Global Const vbArrowHourglass = 13                        'Arrow and hourglass. (Only available in 32-bit Visual Basic 4.0.)
  692. Global Const vbArrowQuestion = 14                         'Arrow and question mark. (Only available in 32-bit Visual Basic 4.0.)
  693. Global Const vbSizeAll = 15                               'Size all. (Only available in 32-bit Visual Basic 4.0.)
  694. Global Const vbCustom = 99                                'Custom icon specified by the MouseIcon property.
  695.  
  696. 'OLE Container Control Constants
  697.  
  698. 'OLEType Property
  699. Global Const vbOLELinked = 0                              'OLE container control contains a linked object.
  700. Global Const vbOLEEmbedded = 1                            'OLE container control contains an embedded object.
  701. Global Const vbOLENone = 3                                'OLE container control doesn't contain an object.
  702.  
  703. 'OLETypeAllowed Property
  704. Global Const vbOLEEither = 2                              'OLE container control can contain either a linked or an embedded object.
  705.  
  706. 'UpdateOptions Property
  707. Global Const vbOLEAutomatic = 0                           'Object is updated each time the linked data changes.
  708. Global Const vbOLEFrozen = 1                              'Object is updated whenever the user saves the linked document from within the application in which it was created.
  709. Global Const vbOLEManual = 2                              'Object is updated only when the Action property is set to 6 (Update).
  710.  
  711. 'AutoActivate Property
  712. Global Const vbOLEActivateManual = 0                      'OLE object isn't automatically activated.
  713. Global Const vbOLEActivateGetFocus = 1                    'Object is activated when the OLE container control gets the focus.
  714. Global Const vbOLEActivateDoubleclick = 2                 'Object is activated when the OLE container control is double-clicked.
  715. Global Const vbOLEActivateAuto = 3                        'Object is activated based on the object's default method of activation.
  716.  
  717. 'SizeMode Property
  718. Global Const vbOLESizeClip = 0                            'Object's image is clipped by the OLE container control's borders.
  719. Global Const vbOLESizeStretch = 1                         'Object's image is sized to fill the OLE container control.
  720. Global Const vbOLESizeAutoSize = 2                        'OLE container control is automatically resized to display the entire object.
  721. Global Const vbOLESizeZoom = 3                            'Object's image is stretched but in proportion.
  722.  
  723. 'DisplayType Property
  724. Global Const vbOLEDisplayContent = 0                      'Object's data is displayed in the OLE container control.
  725. Global Const vbOLEDisplayIcon = 1                         'Object's icon is displayed in the OLE container control.
  726.  
  727. 'Updated Event Constants
  728. Global Const vbOLEChanged = 0                             'Object's data has changed.
  729. Global Const vbOLESaved = 1                               'Object's data has been saved by the application that created the object.
  730. Global Const vbOLEClosed = 2                              'Application file containing the linked object's data has been closed.
  731. Global Const vbOLERenamed = 3                             'Application file containing the linked object's data has been renamed.
  732.  
  733. 'Special Verb Values
  734. Global Const vbOLEPrimary = 0                             'Default action for the object.
  735. Global Const vbOLEShow = -1                               'Activates the object for editing.
  736. Global Const vbOLEOpen = -2                               'Opens the object in a separate application window.
  737. Global Const vbOLEHide = -3                               'For embedded objects, hides the application that created the object.
  738. Global Const vbOLEInPlaceUIActivate = -4                  'All UI's associated with the object are visible and ready for use.
  739. Global Const vbOLEInPlaceActivate = -5                    'Object is ready for the user to click inside it and start working with it.
  740. Global Const vbOLEDiscardUndoState = -6                   'For discarding all record of changes that the object's application can undo.
  741.  
  742. 'Verb Flag Bit Masks
  743. Global Const vbOLEFlagEnabled = &H0                       'Enabled menu item.
  744. Global Const vbOLEFlagGrayed = &H1                        'Grayed menu item.
  745. Global Const vbOLEFlagDisabled = &H2                      'Disabled menu item.
  746. Global Const vbOLEFlagChecked = &H8                       'Checked menu item.
  747. Global Const vbOLEFlagSeparator = &H800                   'Separator bar in menu item list.
  748. Global Const vbOLEMiscFlagMemStorage = &H1                'Causes control to use memory to store the object while it's loaded.
  749. Global Const vbOLEMiscFlagDisableInPlace = &H2            'Forces OLE container control to activate objects in a separate window.
  750.  
  751. 'Picture Object Constants
  752. Global Const vbPicTypeBitmap = 1                          'Bitmap type of Picture object.
  753. Global Const vbPicTypeMetafile = 2                        'Metafile type of Picture object.
  754. Global Const vbPicTypeIcon = 3                            'Icon type of Picture object.
  755.  
  756. 'Printer Object Constants
  757.  
  758. 'Printer Color Mode
  759. Global Const vbPRCMMonochrome = 1                         'Monochrome output.
  760. Global Const vbPRCMColor = 2                              'Color output.
  761.  
  762. 'Duplex Printing
  763. Global Const vbPRDPSimplex = 1                            'Single-sided printing.
  764. Global Const vbPRDPHorizontal = 2                         'Double-sided horizontal printing.
  765. Global Const vbPRDPVertical = 3                           'Double-sided vertical printing.
  766.  
  767. 'Printer Orientation
  768. Global Const vbPRORPortrait = 1                           'Documents print with the top at the narrow side of the paper.
  769. Global Const vbPRORLandscape = 2                          'Documents print with the top at the wide side of the paper.
  770.  
  771. 'Print Quality
  772. Global Const vbPRPQDraft = -1                             'Draft print quality.
  773. Global Const vbPRPQLow = -2                               'Low print quality.
  774. Global Const vbPRPQMedium = -3                            'Medium print quality.
  775. Global Const vbPRPQHigh = -4                              'High print quality.
  776.  
  777. 'PaperBin Property
  778. Global Const vbPRBNUpper = 1                              'Use paper from the upper bin.
  779. Global Const vbPRBNLower = 2                              'Use paper from the lower bin.
  780. Global Const vbPRBNMiddle = 3                             'Use paper from the middle bin.
  781. Global Const vbPRBNManual = 4                             'Wait for manual insertion of each sheet of paper.
  782. Global Const vbPRBNEnvelope = 5                           'Use envelopes from the envelope feeder.
  783. Global Const vbPRBNEnvManual = 6                          'Use envelopes from the envelope feeder, but wait for manual insertion.
  784. Global Const vbPRBNAuto = 7                               '(Default) Use paper from the current default bin.
  785. Global Const vbPRBNTractor = 8                            'Use paper fed from the tractor feeder.
  786. Global Const vbPRBNSmallFmt = 9                           'Use paper from the small paper feeder.
  787. Global Const vbPRBNLargeFmt = 10                          'Use paper from the large paper bin.
  788. Global Const vbPRBNLargeCapacity = 11                     'Use paper from the large capacity feeder.
  789. Global Const vbPRBNCassette = 14                          'Use paper from the attached cassette cartridge.
  790.  
  791. 'PaperSize Property
  792. Global Const vbPRPSLetter = 1                             'Letter, 8 1/2 x 11 in.
  793. Global Const vbPRPSLetterSmall = 2                        '+A611Letter Small, 8 1/2 x 11 in.
  794. Global Const vbPRPSTabloid = 3                            'Tabloid, 11 x 17 in.
  795. Global Const vbPRPSLedger = 4                             'Ledger, 17 x 11 in.
  796. Global Const vbPRPSLegal = 5                              'Legal, 8 1/2 x 14 in.
  797. Global Const vbPRPSStatement = 6                          'Statement, 5 1/2 x 8 1/2 in.
  798. Global Const vbPRPSExecutive = 7                          'Executive, 7 1/2 x 10 1/2 in.
  799. Global Const vbPRPSA3 = 8                                 'A3, 297 x 420 mm.
  800. Global Const vbPRPSA4 = 9                                 'A4, 210 x 297 mm.
  801. Global Const vbPRPSA4Small = 10                           'A4 Small, 210 x 297 mm.
  802. Global Const vbPRPSA5 = 11                                'A5, 148 x 210 mm.
  803. Global Const vbPRPSB4 = 12                                'B4, 250 x 354 mm.
  804. Global Const vbPRPSB5 = 13                                'B5, 182 x 257 mm.
  805. Global Const vbPRPSFolio = 14                             'Folio, 8 1/2 x 13 in.
  806. Global Const vbPRPSQuarto = 15                            'Quarto, 215 x 275 mm.
  807. Global Const vbPRPS10x14 = 16                             '10 x 14 in.
  808. Global Const vbPRPS11x17 = 17                             '11 x 17 in.
  809. Global Const vbPRPSNote = 18                              'Note, 8 1/2 x 11 in.
  810. Global Const vbPRPSEnv9 = 19                              'Envelope #9, 3 7/8 x 8 7/8 in.
  811. Global Const vbPRPSEnv10 = 20                             'Envelope #10, 4 1/8 x 9 1/2 in.
  812. Global Const vbPRPSEnv11 = 21                             'Envelope #11, 4 1/2 x 10 3/8 in.
  813. Global Const vbPRPSEnv12 = 22                             'Envelope #12, 4 1/2 x 11 in.
  814. Global Const vbPRPSEnv14 = 23                             'Envelope #14, 5 x 11 1/2 in.
  815. Global Const vbPRPSCSheet = 24                            'C size sheet.
  816. Global Const vbPRPSDSheet = 25                            'D size sheet.
  817. Global Const vbPRPSESheet = 26                            'E size sheet.
  818. Global Const vbPRPSEnvDL = 27                             'Envelope DL, 110 x 220 mm.
  819. Global Const vbPRPSEnvC3 = 29                             'Envelope C3, 324 x 458 mm.
  820. Global Const vbPRPSEnvC4 = 30                             'Envelope C4, 229 x 324 mm.
  821. Global Const vbPRPSEnvC5 = 28                             'Envelope C5, 162 x 229 mm.
  822. Global Const vbPRPSEnvC6 = 31                             'Envelope C6, 114 x 162 mm.
  823. Global Const vbPRPSEnvC65 = 32                            'Envelope C65, 114 x 229 mm.
  824. Global Const vbPRPSEnvB4 = 33                             'Envelope B4, 250 x 353 mm.
  825. Global Const vbPRPSEnvB5 = 34                             'Envelope B5, 176 x 250 mm.
  826. Global Const vbPRPSEnvB6 = 35                             'Envelope B6, 176 x 125 mm.
  827. Global Const vbPRPSEnvItaly = 36                          'Envelope, 110 x 230 mm.
  828. Global Const vbPRPSEnvMonarch = 37                        'Envelope Monarch, 3 7/8 x 7 1/2 in.
  829. Global Const vbPRPSEnvPersonal = 38                       'Envelope, 3 5/8 x 6 1/2 in.
  830. Global Const vbPRPSFanfoldUS = 39                         'U.S. Standard Fanfold, 14 7/8 x 11 in.
  831. Global Const vbPRPSFanfoldStdGerman = 40                  'German Standard Fanfold, 8 1/2 x 12 in.
  832. Global Const vbPRPSFanfoldLglGerman = 41                  'German Legal Fanfold, 8 1/2 x 13 in.
  833. Global Const vbPRPSUser = 256                             'User-defined.
  834.  
  835. 'RasterOp Constants
  836. Global Const vbDstInvert = &H550009                       'Inverts the destination bitmap.
  837. Global Const vbMergeCopy = &HC000CA                       'Combines the pattern and the source bitmap.
  838. Global Const vbMergePaint = &HBB0226                      'Combines the inverted source bitmap with the destination bitmap by using Or.
  839. Global Const vbNotSrcCopy = &H330008                      'Copies the inverted source bitmap to the destination.
  840. Global Const vbNotSrcErase = &H1100A6                     'Inverts the result of combining the destination and source bitmaps by using Or.
  841. Global Const vbPatCopy = &HF00021                         'Copies the pattern to the destination bitmap.
  842. Global Const vbPatInvert = &H5A0049                       'Combines the destination bitmap with the pattern by using Xor.
  843. Global Const vbPatPaint = &HFB0A09                        'Combines the inverted source bitmap with the pattern by using Or.  Combines the result of this operation with the destination bitmap by using Or.
  844. Global Const vbSrcAnd = &H8800C6                          'Combines pixels of the destination and source bitmaps by using And.
  845. Global Const vbSrcCopy = &HCC0020                         'Copies the source bitmap to the destination bitmap.
  846. Global Const vbSrcErase = &H440328                        'Inverts the destination bitmap and combines the result with the source bitmap by using And.
  847. Global Const vbSrcInvert = &H660046                       'Combines pixels of the destination and source bitmaps by using Xor.
  848. Global Const vbSrcPaint = &HEE0086                        'Combines pixels of the destination and source bitmaps by using Or.
  849.  
  850. 'Variant Type Constants
  851. Global Const vbVEmpty = 0                                 'Empty (uninitialized).
  852. Global Const vbVNull = 1                                  'Null (no valid data).
  853. Global Const vbVInteger = 2                               'Integer data type.
  854. Global Const vbVLong = 3                                  'Long integer data type.
  855. Global Const vbVSingle = 4                                'Single-precision floating-point data type.
  856. Global Const vbVDouble = 5                                'Double-precision floating-point data type.
  857. Global Const vbVCurrency = 6                              'Currency (scaled integer) data type.
  858. Global Const vbVDate = 7                                  'Date data type.
  859. Global Const vbVString = 8                                'String data type.
  860.  
  861. 'VBTranslateColor/OLETranslateColor Constants
  862. Global Const vb3DFace = &H8000000F                        'Dark shadow color for 3-D display elements.
  863. Global Const vbMsgBox = &H80000017                        'Background color for message boxes and system dialog boxes.
  864. Global Const vbMsgBoxText = &H80000018                    'Color of text displayed in message boxes and system dialog boxes.
  865. Global Const vb3DShadow = &H80000010                      'Color of automatic window shadows.
  866.  
  867. 'Data Access Object Constants
  868.  
  869. 'Recordset.Type Property Constants
  870. Global Const dbOpenTable = 1                              'Open table-type Recordset.
  871. Global Const dbOpenDynaset = 2                            'Open dynaset-type Recordset.
  872. Global Const dbOpenSnapshot = 4                           'Open snapshot-type Recordset.
  873.  
  874. 'OpenRecordset Method options Argument Constants
  875. Global Const dbDenyWrite = 1                              'Other users can't change dynaset records.
  876. Global Const dbDenyRead = 2                               'Other users can't read dynaset records.
  877. Global Const dbReadOnly = 4                               'Open dynaset as read-only.
  878. Global Const dbAppendOnly = 8                             'You can add new records to the dynaset, but you can't read existing records.
  879. Global Const dbInconsistent = 16                          'Updates apply to all dynaset fields, even if other records affected.
  880. Global Const dbConsistent = 32                            'Updates apply only to those fields that will not affect other records in the dynaset.
  881. Global Const dbSQLPassThrough = 64                        'Sends an SQL statement to an ODBC database.
  882. Global Const dbFailOnError = 128                          'Roll back changes if error occurs.
  883. Global Const dbForwardOnly = 256                          'Create forward-only scrolling snapshot-type Recordset.
  884. Global Const dbOptionINIPath = 1                          'Set application initialization (.INI) filename and path .
  885.  
  886. 'Attributes Property Constants
  887.  
  888. 'Field.Attributes Property
  889. Global Const dbFixedField = 1                             'Field size fixed (default for Numeric fields).
  890. Global Const dbVariableField = 2                          'Field size variable (Text fields only).
  891. Global Const dbAutoIncrField = 16                         'New record field value incremented to unique Long integer (counter type).
  892. Global Const dbUpdatableField = 32                        'Field is updatable (read/write).
  893. Global Const dbDescending = 1                             'Field sorted in descending order.
  894.  
  895. 'Type Property Constants (Field.Type, Parameter.Type, and Property.Type Properties)
  896. Global Const dbBoolean = 1                                'Boolean (True/False) data.
  897. Global Const dbByte = 2                                   'Byte (8-bit) data .
  898. Global Const dbInteger = 3                                'Integer data.
  899. Global Const dbLong = 4                                   'Long Integer data.
  900. Global Const dbCurrency = 5                               'Currency data.
  901. Global Const dbSingle = 6                                 'Single-precision floating-point data.
  902. Global Const dbDouble = 7                                 'Double-precision floating-point data.
  903. Global Const dbDate = 8                                   'Date value data.
  904. Global Const dbText = 10                                  'Text data (variable width).
  905. Global Const dbLongBinary = 11                            'Binary data (bitmap).
  906. Global Const dbMemo = 12                                  'Memo data (extended text).
  907.  
  908. 'Relation.Attributes Property Constants
  909. Global Const dbRelationUnique = 1                         'One-to-one relationship.
  910. Global Const dbRelationDontEnforce = 2                    'Relationship not enforced (no referential integrity).
  911. Global Const dbRelationInherited = 4                      'Relationship exists in a noncurrent database containing the two attached tables.
  912. Global Const dbRelationUpdateCascade = 256                'Updates cascade.
  913. Global Const dbRelationDeleteCascade = 4096               'Deletions cascade.
  914. Global Const dbRelationLeft = 16777216                    'Relationship is a left join.
  915. Global Const dbRelationRight = 33554432                   'Relationship is a right join.
  916.  
  917. 'TableDef.Attributes Property Constants
  918. Global Const dbAttachExclusive = 65536                    'Attached Microsoft Jet database engine table opened for exclusive use.
  919. Global Const dbAttachSavePWD = 131072                     'Save user ID and password for attached table.
  920. Global Const dbSystemObject = 2147483650#                 'System table.
  921. Global Const dbHiddenObject = 1                           'Hidden table (for temporary use).
  922. Global Const dbTable = 1                                  'Table object.
  923. Global Const dbQueryDef = 5                               'QueryDef object.
  924. Global Const dbAttachedTable = 1073741824                 'Attached non-ODBC database table.
  925. Global Const dbAttachedODBC = 536870912                   'Attached ODBC database table.
  926.  
  927. 'QueryDef.Type Property Constants
  928. Global Const dbQSelect = 0                                'SELECT query.
  929. Global Const dbQAction = 240                              'Action query.
  930. Global Const dbQCrosstab = 16                             'Crosstab query.
  931. Global Const dbQDelete = 32                               'DELETE query.
  932. Global Const dbQUpdate = 48                               'UPDATE query.
  933. Global Const dbQAppend = 64                               'APPEND query.
  934. Global Const dbQMakeTable = 80                            'Make-table query.
  935. Global Const dbQDDL = 96                                  'Data definition language (DDL) query.
  936. Global Const dbQSQLPassThrough = 112                      'SQL pass-through query.
  937. Global Const dbQSetOperation = 128                        'Set operation query.
  938. Global Const dbQSPTBulk = 144                             'Bulk operation query.
  939.  
  940. 'CompactDatabase, CreateDatabase Methods options Argument Constants
  941. Global Const dbVersion10 = 1                              'Microsoft Jet database engine version 1.0.
  942. Global Const dbEncrypt = 2                                'Encrypt database.
  943. Global Const dbDecrypt = 4                                'Decrypt database while compacting.
  944. Global Const dbVersion11 = 8                              'Microsoft Jet database engine version 1.1.
  945. Global Const dbVersion20 = 16                             'Microsoft Jet database engine version 2.0/2.5.
  946. Global Const dbVersion30 = 32                             'Microsoft Jet database engine version 3.0.
  947.  
  948. 'Container.Permissions Property
  949. Global Const dbSecNoAccess = 0                            'No access to the object.
  950. Global Const dbSecFullAccess = 1048575                    'Has full access to the object.
  951. Global Const dbSecDelete = 65536                          'Can delete the object.
  952. Global Const dbSecReadSec = 131072                        'Can read the object's security-related information.
  953. Global Const dbSecWriteSec = 262144                       'Can alter access permissions.
  954. Global Const dbSecWriteOwner = 524288                     'Can change the Owner property setting.
  955.  
  956. 'Databases Container.Permissions Property Constants
  957.  
  958. '
  959. Global Const dbSecDBCreate = 1                            'Can create new databases (valid only on the databases Container object in the system database, typically SYSTEM.MDW).
  960. Global Const dbSecDBOpen = 2                              'Can open the database.
  961. Global Const dbSecDBExclusive = 4                         'Has exclusive access.
  962.  
  963. 'Tables Container.Permissions Property Constants
  964. Global Const dbSecCreate = 1                              'Create new tables (valid only with a Container object that represents a table).
  965. Global Const dbSecReadDef = 4                             'Read the table definition, including column and index information.
  966. Global Const dbSecWriteDef = 8                            'Modify or delete table definition, including column and index information.
  967. Global Const dbSecRetrieveData = 16                       'Retrieve data from the document.
  968. Global Const dbSecInsertData = 32                         'Add records.
  969. Global Const dbSecReplaceData = 64                        'Modify records.
  970. Global Const dbSecDeleteData = 128                        'Delete records.
  971.  
  972. 'EditMode Property Constants
  973. Global Const dbEditNone = 0                               'No editing operation in effect.
  974. Global Const dbEditInProgress = 1                         'Edit method invoked.
  975. Global Const dbEditAdd = 2                                'AddNew method invoked.
  976.  
  977. 'CollatingOrder Property Constants
  978.  
  979. '
  980. Global Const dbSortArabic = 267                           'Arabic collating order.
  981. Global Const dbSortCyrillic = 263                         'Russian collating order.
  982. Global Const dbSortCzech = 264                            'Czech collating order.
  983. Global Const dbSortDutch = 259                            'Dutch collating order.
  984. Global Const dbSortGeneral = 256                          'English, German, French, and Portuguese collating order.
  985. Global Const dbSortGreek = 269                            'Greek collating order.
  986. Global Const dbSortHebrew = 268                           'Hebrew collating order.
  987. Global Const dbSortHungarian = 265                        'Hungarian collating order.
  988. Global Const dbSortIcelandic = 262                        'Icelandic collating order.
  989. Global Const dbSortJapanese = 1041                        'Japanese collating order.
  990. Global Const dbSortNeutral = 1024                         'Neutral collating order.
  991. Global Const dbSortNorw = 261                             'Norwegian and Danish collating order.
  992. Global Const dbSortPDXIntl = 4096                         'Paradox international collating order.
  993. Global Const dbSortPDXNor = 4098                          'Paradox Norwegian and Danish collating order.
  994. Global Const dbSortPDXSwe = 4097                          'Paradox Swedish and Finnish collating order.
  995. Global Const dbSortPolish = 266                           'Polish collating order.
  996. Global Const dbSortSpanish = 258                          'Spanish collating order.
  997. Global Const dbSortSwedFin = 260                          'Swedish and Finnish collating order.
  998. Global Const dbSortTurkish = 270                          'Turkish collating order.
  999. Global Const dbSortUndefined = -1                         'Collating order undefined or unknown.
  1000.  
  1001. 'Idle Method Argument Constants
  1002. Global Const dbFreeLocks = 1                              'Free page locks.
  1003.  
  1004. 'Synchronize Method ExchgType Argument Constants
  1005. Global Const dbRepExportChanges = 1                       'Synchronizes the target database replica with the current database.
  1006. Global Const dbRepImportChanges = 2                       'Synchronizes the current database with the target database replica.
  1007. Global Const dbRepImpExpChanges = 4                       'Bidirectionally synchronizes the current database with the target database replica.
  1008.  
  1009. 'CreateReplica Method Options Argument Constants
  1010. Global Const dbRepMakeReadOnly = 2                        'The replicable elements of the newly-created database will not be modifiable.
  1011.  
  1012. 'Date Constants
  1013. Global Const vbUseSystem = 0                              'Use NLS API setting.
  1014. Global Const vbSunday = 1                                 'Sunday
  1015. Global Const vbMonday = 2                                 'Monday
  1016. Global Const vbTuesday = 3                                'Tuesday
  1017. Global Const vbWednesday = 4                              'Wednesday
  1018. Global Const vbThursday = 5                               'Thursday
  1019. Global Const vbFriday = 6                                 'Friday
  1020. Global Const vbSaturday = 7                               'Saturday
  1021. Global Const vbFirstJan1 = 1                              'Start with week in which January 1 occurs (default)
  1022. Global Const vbFirstFourDays = 2                          'Start with the first week that has at least four days in the new year.
  1023. Global Const vbFirstFullWeek = 3                          'Start with the first full week of the year.
  1024.  
  1025. 'Dir, GetAttr, and SetAttr Constants
  1026.  
  1027. 'Global Const vbNormal = 0                                 'Normal (default for Dir and SetAttr).
  1028. Global Const vbReadOnly = 1                               'Read-only.
  1029. Global Const vbHidden = 2                                 'Hidden.
  1030. Global Const vbSystem = 4                                 'System file.
  1031. Global Const vbVolume = 8                                 'Volume label.
  1032. Global Const vbDirectory = 16                             'Directory.
  1033. Global Const vbArchive = 32                               'File has changed since last backup.
  1034.  
  1035. 'IMEStatus Constants
  1036.  
  1037. 'Japanese locale:
  1038. Global Const vbIMENoOp = 0                                'No IME installed.
  1039. Global Const vbIMEOn = 1                                  'IME on.
  1040. Global Const vbIMEOff = 2                                 'IME off.
  1041. Global Const vbIMEDisable = 3                             'IME disabled.
  1042. Global Const vbIMEHiragana = 4                            'Hiragana double-byte characters (DBC)
  1043. Global Const vbIMEKatakanaDbl = 5                         'Katakana DBC.
  1044. Global Const vbIMEKatakanaSng = 6                         'Katakana single-byte characters (SBC).
  1045. Global Const vbIMEAlphaDbl = 7                            'Alphanumeric DBC.
  1046. Global Const vbIMEAlphaSng = 8                            'Alphanumeric SBC.
  1047.  
  1048. 'MsgBox Constants
  1049.  
  1050. 'MsgBox Arguments
  1051. Global Const vbOKOnly = 0                                 'OK button only (default).
  1052. Global Const vbOKCancel = 1                               'OK and Cancel buttons.
  1053. Global Const vbAbortRetryIgnore = 2                       'Abort, Retry, and Ignore buttons.
  1054. Global Const vbYesNoCancel = 3                            'Yes, No, and Cancel buttons.
  1055. Global Const vbYesNo = 4                                  'Yes and No buttons.
  1056. Global Const vbRetryCancel = 5                            'Retry and Cancel buttons.
  1057. Global Const vbCritical = 16                              'Critical message.
  1058. Global Const vbQuestion = 32                              'Warning query.
  1059. Global Const vbExclamation = 48                           'Warning message.
  1060. Global Const vbInformation = 64                           'Information message.
  1061. Global Const vbDefaultButton1 = 0                         'First button is default (default).
  1062. Global Const vbDefaultButton2 = 256                       'Second button is default.
  1063. Global Const vbDefaultButton3 = 512                       'Third button is default.
  1064. Global Const vbApplicationModal = 0                       'Application modal message box (default).
  1065. Global Const vbSystemModal = 4096                         'System modal message box.
  1066.  
  1067. 'MsgBox Return Values
  1068. Global Const vbOK = 1                                     'OK button pressed.
  1069. Global Const vbCancel = 2                                 'Cancel button pressed.
  1070. Global Const vbAbort = 3                                  'Abort button pressed.
  1071. Global Const vbRetry = 4                                  'Retry button pressed.
  1072. Global Const vbIgnore = 5                                 'Ignore button pressed.
  1073. Global Const vbYes = 6                                    'Yes button pressed.
  1074. Global Const vbNo = 7                                     'No button pressed.
  1075.  
  1076. 'Shell Constants
  1077. Global Const vbHide = 0                                   'Window is hidden and focus is passed to the hidden window.
  1078. Global Const vbNormalFocus = 1                            'Window has focus and is restored to its original size and position.
  1079. Global Const vbMinimizedFocus = 2                         'Window is displayed as an icon with focus.
  1080. Global Const vbMaximizedFocus = 3                         'Window is maximized with focus.
  1081. Global Const vbNormalNoFocus = 4                          'Window is restored to its most recent size and position.  The currently active window remains active.
  1082. Global Const vbMinimizedNoFocus = 6                       'Window is displayed as an icon.  The currently active window remains active.
  1083.  
  1084. 'StrConv Constants
  1085. Global Const vbUpperCase = 1                              'Uppercases the string.
  1086. Global Const vbLowerCase = 2                              'Lowercases the string.
  1087. Global Const vbProperCase = 3                             'Uppercases first letter of every word in string.
  1088. Global Const vbWide = 4                                   'Converts narrow (single-byte) characters in string to wide (double-byte) characters.
  1089. Global Const vbNarrow = 8                                 'Converts wide (double-byte) characters in string to narrow (single-byte) characters.
  1090. Global Const vbKatakana = 16                              'Converts Hiragana characters in string to Katakana characters.
  1091. Global Const vbHiragana = 32                              'Converts Katakana characters in string to Hiragana characters.
  1092. Global Const vbUnicode = 64                               'Converts the string to Unicode using the default code page of the system.
  1093. Global Const vbFromUnicode = 128                          'Converts the string from Unicode to the default code page of the system.
  1094.  
  1095. 'VarType Constants
  1096. Global Const vbEmpty = 0                                  'Uninitialized (default).
  1097. Global Const vbNull = 1                                   'Contains no valid data.
  1098. Global Const vbInteger = 2                                'Integer.
  1099. Global Const vbLong = 3                                   'Long integer.
  1100. Global Const vbSingle = 4                                 'Single-precision floating-point number.
  1101. Global Const vbDouble = 5                                 'Double-precision floating-point number.
  1102. Global Const vbCurrency = 6                               'Currency.
  1103. Global Const vbDate = 7                                   'Date.
  1104. Global Const vbString = 8                                 'String.
  1105. Global Const vbObject = 9                                 'OLE Automation object.
  1106. Global Const vbError = 10                                 'Error.
  1107. Global Const vbBoolean = 11                               'Boolean.
  1108. Global Const vbVariant = 12                               'Variant (used only for arrays of Variants).
  1109. Global Const vbDataObject = 13                            'Non-OLE Automation object.
  1110. Global Const vbByte = 17                                  'Byte
  1111. Global Const vbArray = 8192                               'Array.
  1112.